From: Jonathan Lebon Date: Thu, 19 Apr 2018 14:16:35 +0000 (-0400) Subject: ci: Temporary libgcrypt workaround for older kernels X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~205^2^2~34 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c0c9cfdb9d33da671a47d32ba67a0915604152c0;p=ostree.git ci: Temporary libgcrypt workaround for older kernels I'm trying to get ostree tests to pass in OpenShift as part of our CI move but I've been seeing lots of failures related to GPG tests. It finally turned out to be because libgcrypt doesn't behave well on older kernels that don't have `getrandom()` (the cluster is running on RHEL7). Thankfully, there's a new build with a fix for this. Pull that in manually until it gets into stable. For more information, see: https://bugzilla.redhat.com/show_bug.cgi?id=1542453 Closes: #1547 Approved by: cgwalters --- diff --git a/ci/libpaprci/libbuild.sh b/ci/libpaprci/libbuild.sh index 9ad417b2..62dc2b29 100644 --- a/ci/libpaprci/libbuild.sh +++ b/ci/libpaprci/libbuild.sh @@ -66,6 +66,10 @@ pkg_builddep() { if rpm -q gpgme | grep -q gpgme-1.9.0-6.fc27; then dnf install -y https://kojipkgs.fedoraproject.org//packages/gpgme/1.10.0/4.fc27/x86_64/{gpgme{,-devel},python{2,3}-gpg}-1.10.0-4.fc27.x86_64.rpm fi + # https://bugzilla.redhat.com/show_bug.cgi?id=1542453 + if rpm -q libgcrypt | grep -q libgcrypt-1.8.2-1.fc27; then + dnf install -y https://kojipkgs.fedoraproject.org//packages/libgcrypt/1.8.2/2.fc27/x86_64/libgcrypt-1.8.2-2.fc27.x86_64.rpm + fi else yum-builddep -y "$@" fi